#ifndef FONTSETTING_H
#define FONTSETTING_H

#include <QWidget>
#include <QStringListModel>
#include <QStandardItemModel>
#include "scriptPrepare.h"

namespace Ui {
class FontSetting;
}

class FontSetting : public QWidget
{
    Q_OBJECT

public:
    explicit FontSetting(QWidget *parent = nullptr);
    ~FontSetting();
    bool isFcitx();

private slots:
    void on_nxtButton_clicked();

    void on_preButton_clicked();

    void on_actBtn_1_clicked();

private:
    Ui::FontSetting *ui;
    void init();
    void settingStep(int n);
    QString btn1_cmd;
    int page = 0;
};

#endif // FONTSETTING_H
